package com.kgc.itrip.mapper;

import com.kgc.itrip.pojo.ItripHotelOrder;
import com.kgc.itrip.pojo.ItripHotelTempStore;
import com.kgc.itrip.vo.order.ItripListHotelOrderVO;
import com.kgc.itrip.vo.order.ItripPersonalOrderRoomVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ItripHotelOrderMapper {

	public ItripHotelOrder getItripHotelOrderById(@Param(value = "id") Long id)throws Exception;

	public List<ItripHotelOrder> getItripHotelOrderListByMap(Map<String,Object> param)throws Exception;

	public Integer getItripHotelOrderCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertItripHotelOrder(ItripHotelOrder itripHotelOrder)throws Exception;

	public Integer updateItripHotelOrder(ItripHotelOrder itripHotelOrder)throws Exception;

	public Integer deleteItripHotelOrderById(@Param(value = "id") Long id)throws Exception;

	void flushTempStore(Map<String, Object> param)throws Exception;

	List<ItripHotelTempStore> getItripHotelListByCondition(Map<String,Object> param) throws Exception;

	ItripPersonalOrderRoomVO getPersonalOrderRoomInfoByOrderId(@Param(value = "id")Long id) throws Exception;

	Integer getIsSupportOffLinePayByOrderId(@Param(value = "id")Long id) throws Exception;

	List<ItripListHotelOrderVO> getItripHotelOrderListByMapTwo(Map<String, Object> param) throws Exception;
}
